Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove preceding dollar sign ($) from demo code #757

Closed
wants to merge 1 commit into from

Conversation

smrdotgg
Copy link

Remove preceding dollar sign from installation code snippet.

In most cases, people just want to copy the code snippet to install a program, drop it in their terminal, and be done with it. The preceding dollar sign can be a tiny but significant frustration.

@@ -23,26 +23,26 @@ You can install Oh my tmux! at any of the following locations:

Installing in `~`:
```
Copy link

@cujomalainey cujomalainey Oct 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could also add bash here so the syntax highlighting is still clear
e.g.
```bash

which would give you

cd
git clone https://github.com/gpakosz/.tmux.git
ln -s -f .tmux/.tmux.conf
cp .tmux/.tmux.conf.local .

@gpakosz
Copy link
Owner

gpakosz commented Oct 30, 2024

Hello,

This is not something I'm willing to change. Sorry.

I don't like the idea of people copying and pasting commands from the internet without understanding them.

$ and # have specific meaning

  • $ denotes a prompt when you're a regular user
  • # denotes a prompt when you're root

@gpakosz gpakosz closed this Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants